//
//  UnitBlock.h
//  FingerBlock
//
//  Created by GaoFeng on 14-5-29.
//
//

#ifndef __FingerBlock__UnitBlock__
#define __FingerBlock__UnitBlock__

#include <iostream>
#include "cocos2d.h"

using namespace cocos2d;
using namespace std;

class UnitBlock : public CCSprite
{
    
public:
    UnitBlock();
    virtual ~UnitBlock();
    
    bool init();
    static UnitBlock * create();
    
    void setData(CCSize size, ccColor3B color);
    
    bool PtInside(CCPoint pt);
};


#endif /* defined(__FingerBlock__UnitBlock__) */
